package kr.hkit.powerjava.chapter08;

public class Employee {
	private String name;
	private String phone;
	private int yearPay;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getYearPay() {
		return yearPay;
	}
	public void setYearPay(int yearPay) {
		this.yearPay = yearPay;
	}
	@Override
	public String toString() {
		return "Employee [name=" + name + ", phone=" + phone + ", yearPay="
				+ yearPay + "]";
	}
	
}
